﻿namespace EdgeSearch.Core.Entity.Models
{
    /// <summary>
    /// 统一分页数据结构
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class WebPageRespon<T>
    {
        public WebPageRespon() { }
        public WebPageRespon(string message, int code)
        {
            this.Message = message;
            this.StatusCode = code;
        }
        public T Data { get; set; }
        public string Message { get; set; }
        public int StatusCode { get; set; } = 2000;
        public PageModel PM { get; set; } = new PageModel();
    }
}
